define("biz_common/utils/report.js",[],function(){
"use strict";
return function(n){
var e=new Image;
e.src=n;
};
});define("homepage/report.js",[],function(){
"use strict";
function n(){
if(-1==i.indexOf("NetType/"))return!1;
for(var n=["2G","cmwap","cmnet","uninet","uniwap","ctwap","ctnet"],e=0,a=n.length;a>e;++e)if(-1!=i.indexOf(n[e]))return!0;
return!1;
}
function e(n){
var e=new Image;
e.src="http://isdspeed.qq.com/cgi-bin/r.cgi?"+n.join("&");
}
function a(n,e){
if(!benchmark[n]||!benchmark[e])return 0;
var a=benchmark[n]-benchmark[e];
return 0>a?0:a;
}
function r(){
var r=[],i=[],t=a("pageEnd","pageBegin"),o=a("cssEnd","pageBegin"),g=a("jsEnd","pageBegin"),s=a("moonJsEnd","soonJsBegin"),f=a("soonJsEnd","soonJsBegin");
r.push("flag1=7839&flag2=16&flag3=1"),r.push("3="+t+"&4="+o+"&5="+g+"&6="+s+"&7="+f),
e(r),Math.random()<0||(n()?(i.push("flag1=7839&flag2=16&flag3=3"),i.push("1="+t+"&2="+o+"&3="+g+"&4="+s+"&5="+f)):(i.push("flag1=7839&flag2=16&flag3=2"),
i.push("1="+t+"&2="+o+"&3="+g+"&4="+s+"&5="+f)),e(i));
}
{
var i=navigator.userAgent;
window.performance||window.msPerformance||window.webkitPerformance;
}
setTimeout(r,1500);
});define("biz_wap/zepto/event.js",["biz_wap/zepto/zepto.js"],function(e){
"use strict";
e("biz_wap/zepto/zepto.js"),function(e){
function n(e){
return e._zid||(e._zid=d++);
}
function t(e,t,o,u){
if(t=r(t),t.ns)var a=i(t.ns);
return(g[n(e)]||[]).filter(function(e){
return!(!e||t.e&&e.e!=t.e||t.ns&&!a.test(e.ns)||o&&n(e.fn)!==n(o)||u&&e.sel!=u);
});
}
function r(e){
var n=(""+e).split(".");
return{
e:n[0],
ns:n.slice(1).sort().join(" ")
};
}
function i(e){
return new RegExp("(?:^| )"+e.replace(" "," .* ?")+"(?: |$)");
}
function o(e,n){
return e.del&&!y&&e.e in E||!!n;
}
function u(e){
return b[e]||y&&E[e]||e;
}
function a(t,i,a,s,f,d,l){
var v=n(t),h=g[v]||(g[v]=[]);
i.split(/\s/).forEach(function(n){
if("ready"==n)return e(document).ready(a);
var i=r(n);
i.fn=a,i.sel=f,i.e in b&&(a=function(n){
var t=n.relatedTarget;
return!t||t!==this&&!e.contains(this,t)?i.fn.apply(this,arguments):void 0;
}),i.del=d;
var v=d||a;
i.proxy=function(e){
if(e=c(e),!e.isImmediatePropagationStopped()){
e.data=s;
var n=v.apply(t,e._args==p?[e]:[e].concat(e._args));
return n===!1&&(e.preventDefault(),e.stopPropagation()),n;
}
},i.i=h.length,h.push(i),"addEventListener"in t&&t.addEventListener(u(i.e),i.proxy,o(i,l));
});
}
function s(e,r,i,a,s){
var c=n(e);
(r||"").split(/\s/).forEach(function(n){
t(e,n,i,a).forEach(function(n){
delete g[c][n.i],"removeEventListener"in e&&e.removeEventListener(u(n.e),n.proxy,o(n,s));
});
});
}
function c(n,t){
return(t||!n.isDefaultPrevented)&&(t||(t=n),e.each(_,function(e,r){
var i=t[e];
n[e]=function(){
return this[r]=P,i&&i.apply(t,arguments);
},n[r]=z;
}),(t.defaultPrevented!==p?t.defaultPrevented:"returnValue"in t?t.returnValue===!1:t.getPreventDefault&&t.getPreventDefault())&&(n.isDefaultPrevented=P)),
n;
}
function f(e){
var n,t={
originalEvent:e
};
for(n in e)w.test(n)||e[n]===p||(t[n]=e[n]);
return c(t,e);
}
var p,d=(e.zepto.qsa,1),l=Array.prototype.slice,v=e.isFunction,h=function(e){
return"string"==typeof e;
},g={},m={},y="onfocusin"in window,E={
focus:"focusin",
blur:"focusout"
},b={
mouseenter:"mouseover",
mouseleave:"mouseout"
};
m.click=m.mousedown=m.mouseup=m.mousemove="MouseEvents",e.event={
add:a,
remove:s
},e.proxy=function(t,r){
if(v(t)){
var i=function(){
return t.apply(r,arguments);
};
return i._zid=n(t),i;
}
if(h(r))return e.proxy(t[r],t);
throw new TypeError("expected function");
},e.fn.bind=function(e,n,t){
return this.on(e,n,t);
},e.fn.unbind=function(e,n){
return this.off(e,n);
},e.fn.one=function(e,n,t,r){
return this.on(e,n,t,r,1);
};
var P=function(){
return!0;
},z=function(){
return!1;
},w=/^([A-Z]|returnValue$|layer[XY]$)/,_={
preventDefault:"isDefaultPrevented",
stopImmediatePropagation:"isImmediatePropagationStopped",
stopPropagation:"isPropagationStopped"
};
e.fn.delegate=function(e,n,t){
return this.on(n,e,t);
},e.fn.undelegate=function(e,n,t){
return this.off(n,e,t);
},e.fn.live=function(n,t){
return e(document.body).delegate(this.selector,n,t),this;
},e.fn.die=function(n,t){
return e(document.body).undelegate(this.selector,n,t),this;
},e.fn.on=function(n,t,r,i,o){
var u,c,d=this;
return n&&!h(n)?(e.each(n,function(e,n){
d.on(e,t,r,n,o);
}),d):(h(t)||v(i)||i===!1||(i=r,r=t,t=p),(v(r)||r===!1)&&(i=r,r=p),i===!1&&(i=z),
d.each(function(p,d){
o&&(u=function(e){
return s(d,e.type,i),i.apply(this,arguments);
}),t&&(c=function(n){
var r,o=e(n.target).closest(t,d).get(0);
return o&&o!==d?(r=e.extend(f(n),{
currentTarget:o,
liveFired:d
}),(u||i).apply(o,[r].concat(l.call(arguments,1)))):void 0;
}),a(d,n,i,r,t,c||u);
}));
},e.fn.off=function(n,t,r){
var i=this;
return n&&!h(n)?(e.each(n,function(e,n){
i.off(e,t,n);
}),i):(h(t)||v(r)||r===!1||(r=t,t=p),r===!1&&(r=z),i.each(function(){
s(this,n,r,t);
}));
},e.fn.trigger=function(n,t){
return n=h(n)||e.isPlainObject(n)?e.Event(n):c(n),n._args=t,this.each(function(){
"dispatchEvent"in this?this.dispatchEvent(n):e(this).triggerHandler(n,t);
});
},e.fn.triggerHandler=function(n,r){
var i,o;
return this.each(function(u,a){
i=f(h(n)?e.Event(n):n),i._args=r,i.target=a,e.each(t(a,n.type||n),function(e,n){
return o=n.proxy(i),i.isImmediatePropagationStopped()?!1:void 0;
});
}),o;
},"focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select keydown keypress keyup error".split(" ").forEach(function(n){
e.fn[n]=function(e){
return e?this.bind(n,e):this.trigger(n);
};
}),["focus","blur"].forEach(function(n){
e.fn[n]=function(e){
return e?this.bind(n,e):this.each(function(){
try{
this[n]();
}catch(e){}
}),this;
};
}),e.Event=function(e,n){
h(e)||(n=e,e=n.type);
var t=document.createEvent(m[e]||"Events"),r=!0;
if(n)for(var i in n)"bubbles"==i?r=!!n[i]:t[i]=n[i];
return t.initEvent(e,r,!0),c(t);
};
}(Zepto);
});define("biz_wap/zepto/ajax.js",["biz_wap/zepto/zepto.js"],function(t){
"use strict";
t("biz_wap/zepto/zepto.js"),function(t){
function e(e,a,n){
var r=t.Event(a);
return t(e).trigger(r,n),!r.isDefaultPrevented();
}
function a(t,a,n,r){
return t.global?e(a||v,n,r):void 0;
}
function n(e){
e.global&&0===t.active++&&a(e,null,"ajaxStart");
}
function r(e){
e.global&&!--t.active&&a(e,null,"ajaxStop");
}
function o(t,e){
var n=e.context;
return e.beforeSend.call(n,t,e)===!1||a(e,n,"ajaxBeforeSend",[t,e])===!1?!1:void a(e,n,"ajaxSend",[t,e]);
}
function i(t,e,n,r){
var o=n.context,i="success";
n.success.call(o,t,i,e),r&&r.resolveWith(o,[t,i,e]),a(n,o,"ajaxSuccess",[e,n,t]),
c(i,e,n);
}
function s(t,e,n,r,o){
var i=r.context;
r.error.call(i,n,e,t),o&&o.rejectWith(i,[n,e,t]),a(r,i,"ajaxError",[n,r,t||e]),c(e,n,r);
}
function c(t,e,n){
var o=n.context;
n.complete.call(o,e,t),a(n,o,"ajaxComplete",[e,n]),r(n);
}
function u(){}
function p(t){
return t&&(t=t.split(";",2)[0]),t&&(t==T?"html":t==b?"json":g.test(t)?"script":w.test(t)&&"xml")||"text";
}
function l(t,e){
return""==e?t:(t+"&"+e).replace(/[&?]{1,2}/,"?");
}
function d(e){
e.processData&&e.data&&"string"!=t.type(e.data)&&(e.data=t.param(e.data,e.traditional)),
!e.data||e.type&&"GET"!=e.type.toUpperCase()||(e.url=l(e.url,e.data),e.data=void 0);
}
function f(e,a,n,r){
var o=!t.isFunction(a);
return{
url:e,
data:o?a:void 0,
success:o?t.isFunction(n)?n:void 0:a,
dataType:o?r||n:n
};
}
function x(e,a,n,r){
var o,i=t.isArray(a),s=t.isPlainObject(a);
t.each(a,function(a,c){
o=t.type(c),r&&(a=n?r:r+"["+(s||"object"==o||"array"==o?a:"")+"]"),!r&&i?e.add(c.name,c.value):"array"==o||!n&&"object"==o?x(e,c,n,a):e.add(a,c);
});
}
var m,j,y=0,v=window.document,h=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,g=/^(?:text|application)\/javascript/i,w=/^(?:text|application)\/xml/i,b="application/json",T="text/html",S=/^\s*$/;
t.active=0,t.ajaxJSONP=function(e,a){
if(!("type"in e))return t.ajax(e);
var n,r,c=e.jsonpCallback,u=(t.isFunction(c)?c():c)||"jsonp"+ ++y,p=v.createElement("script"),l=window[u],d=function(e){
t(p).triggerHandler("error",e||"abort");
},f={
abort:d
};
return a&&a.promise(f),t(p).on("load error",function(o,c){
clearTimeout(r),t(p).off().remove(),"error"!=o.type&&n?i(n[0],f,e,a):s(null,c||"error",f,e,a),
window[u]=l,n&&t.isFunction(l)&&l(n[0]),l=n=void 0;
}),o(f,e)===!1?(d("abort"),f):(window[u]=function(){
n=arguments;
},p.src=e.url.replace(/=\?/,"="+u),v.head.appendChild(p),e.timeout>0&&(r=setTimeout(function(){
d("timeout");
},e.timeout)),f);
},t.ajaxSettings={
type:"GET",
beforeSend:u,
success:u,
error:u,
complete:u,
context:null,
global:!0,
xhr:function(){
return new window.XMLHttpRequest;
},
accepts:{
script:"text/javascript, application/javascript, application/x-javascript",
json:b,
xml:"application/xml, text/xml",
html:T,
text:"text/plain"
},
crossDomain:!1,
timeout:0,
processData:!0,
cache:!0
},t.ajax=function(e){
var a=t.extend({},e||{}),r=t.Deferred&&t.Deferred();
for(m in t.ajaxSettings)void 0===a[m]&&(a[m]=t.ajaxSettings[m]);
n(a),a.crossDomain||(a.crossDomain=/^([\w-]+:)?\/\/([^\/]+)/.test(a.url)&&RegExp.$2!=window.location.host),
a.url||(a.url=window.location.toString()),d(a),a.cache===!1&&(a.url=l(a.url,"_="+Date.now()));
var c=a.dataType,f=/=\?/.test(a.url);
if("jsonp"==c||f)return f||(a.url=l(a.url,a.jsonp?a.jsonp+"=?":a.jsonp===!1?"":"callback=?")),
t.ajaxJSONP(a,r);
var x,y=a.accepts[c],v={},h=function(t,e){
v[t.toLowerCase()]=[t,e];
},g=/^([\w-]+:)\/\//.test(a.url)?RegExp.$1:window.location.protocol,w=a.xhr(),b=w.setRequestHeader;
if(r&&r.promise(w),a.crossDomain||h("X-Requested-With","XMLHttpRequest"),h("Accept",y||"*/*"),
(y=a.mimeType||y)&&(y.indexOf(",")>-1&&(y=y.split(",",2)[0]),w.overrideMimeType&&w.overrideMimeType(y)),
(a.contentType||a.contentType!==!1&&a.data&&"GET"!=a.type.toUpperCase())&&h("Content-Type",a.contentType||"application/x-www-form-urlencoded"),
a.headers)for(j in a.headers)h(j,a.headers[j]);
if(w.setRequestHeader=h,w.onreadystatechange=function(){
if(4==w.readyState){
w.onreadystatechange=u,clearTimeout(x);
var e,n=!1;
if(w.status>=200&&w.status<300||304==w.status||0==w.status&&"file:"==g){
c=c||p(a.mimeType||w.getResponseHeader("content-type")),e=w.responseText;
try{
"script"==c?(1,eval)(e):"xml"==c?e=w.responseXML:"json"==c&&(e=S.test(e)?null:t.parseJSON(e));
}catch(o){
n=o;
}
n?s(n,"parsererror",w,a,r):i(e,w,a,r);
}else s(w.statusText||null,w.status?"error":"abort",w,a,r);
}
},o(w,a)===!1)return w.abort(),s(null,"abort",w,a,r),w;
if(a.xhrFields)for(j in a.xhrFields)w[j]=a.xhrFields[j];
var T="async"in a?a.async:!0;
w.open(a.type,a.url,T,a.username,a.password);
for(j in v)b.apply(w,v[j]);
return a.timeout>0&&(x=setTimeout(function(){
w.onreadystatechange=u,w.abort(),s(null,"timeout",w,a,r);
},a.timeout)),w.send(a.data?a.data:null),w;
},t.get=function(){
return t.ajax(f.apply(null,arguments));
},t.post=function(){
var e=f.apply(null,arguments);
return e.type="POST",t.ajax(e);
},t.getJSON=function(){
var e=f.apply(null,arguments);
return e.dataType="json",t.ajax(e);
},t.fn.load=function(e,a,n){
if(!this.length)return this;
var r,o=this,i=e.split(/\s/),s=f(e,a,n),c=s.success;
return i.length>1&&(s.url=i[0],r=i[1]),s.success=function(e){
o.html(r?t("<div>").html(e.replace(h,"")).find(r):e),c&&c.apply(o,arguments);
},t.ajax(s),this;
};
var D=encodeURIComponent;
t.param=function(t,e){
var a=[];
return a.add=function(t,e){
this.push(D(t)+"="+D(e));
},x(a,t,e),a.join("&").replace(/%20/g,"+");
};
}(Zepto);
var e=function(t){
return function(e,a,n,r,o,i,s){
s=0==s?s:!0,i=i||"json",a=a||{},"json"==i&&(a.f="json"),"undefined"!=typeof uin&&"undefined"!=typeof key&&""!=uin&&""!=key&&(a.uin=uin,
a.key=key),a.ajax=1,$.ajax({
type:t,
url:e,
async:s,
data:a,
dataType:i,
scriptCharset:"utf8",
success:function(t){
"string"==typeof t&&(t=$.parseJSON(t)),t&&t.base_resp&&0==t.base_resp.ret?n&&n(t,a):r&&r(t,a);
},
error:function(t){
r&&r(t,a);
},
complete:o||function(){}
});
};
};
return{
get:e("GET"),
post:e("POST")
};
});define("biz_wap/zepto/zepto.js",[],function(){
"use strict";
var t=function(){
function t(t){
return null==t?String(t):J[W.call(t)]||"object";
}
function n(n){
return"function"==t(n);
}
function e(t){
return null!=t&&t==t.window;
}
function i(t){
return null!=t&&t.nodeType==t.DOCUMENT_NODE;
}
function r(n){
return"object"==t(n);
}
function o(t){
return r(t)&&!e(t)&&Object.getPrototypeOf(t)==Object.prototype;
}
function s(t){
return t instanceof Array;
}
function u(t){
return"number"==typeof t.length;
}
function c(t){
return P.call(t,function(t){
return null!=t;
});
}
function a(t){
return t.length>0?C.fn.concat.apply([],t):t;
}
function l(t){
return t.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase();
}
function f(t){
return t in M?M[t]:M[t]=new RegExp("(^|\\s)"+t+"(\\s|$)");
}
function h(t,n){
return"number"!=typeof n||z[l(t)]?n:n+"px";
}
function p(t){
var n,e;
return j[t]||(n=L.createElement(t),L.body.appendChild(n),e=getComputedStyle(n,"").getPropertyValue("display"),
n.parentNode.removeChild(n),"none"==e&&(e="block"),j[t]=e),j[t];
}
function d(t){
return"children"in t?$.call(t.children):C.map(t.childNodes,function(t){
return 1==t.nodeType?t:void 0;
});
}
function g(t,n,e){
for(E in n)e&&(o(n[E])||s(n[E]))?(o(n[E])&&!o(t[E])&&(t[E]={}),s(n[E])&&!s(t[E])&&(t[E]=[]),
g(t[E],n[E],e)):n[E]!==x&&(t[E]=n[E]);
}
function m(t,n){
return null==n?C(t):C(t).filter(n);
}
function v(t,e,i,r){
return n(e)?e.call(t,i,r):e;
}
function y(t,n,e){
null==e?t.removeAttribute(n):t.setAttribute(n,e);
}
function b(t,n){
var e=t.className,i=e&&e.baseVal!==x;
return n===x?i?e.baseVal:e:void(i?e.baseVal=n:t.className=n);
}
function w(t){
var n;
try{
return t?"true"==t||("false"==t?!1:"null"==t?null:/^0/.test(t)||isNaN(n=Number(t))?/^[\[\{]/.test(t)?C.parseJSON(t):t:n):t;
}catch(e){
return t;
}
}
function N(t,n){
n(t);
for(var e in t.childNodes)N(t.childNodes[e],n);
}
var x,E,C,O,T,S,A=[],$=A.slice,P=A.filter,L=window.document,j={},M={},z={
"column-count":1,
columns:1,
"font-weight":1,
"line-height":1,
opacity:1,
"z-index":1,
zoom:1
},Z=/^\s*<(\w+|!)[^>]*>/,q=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,_=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,k=/^(?:body|html)$/i,B=/([A-Z])/g,R=["val","css","html","text","data","width","height","offset"],V=["after","prepend","before","append"],F=L.createElement("table"),H=L.createElement("tr"),I={
tr:L.createElement("tbody"),
tbody:F,
thead:F,
tfoot:F,
td:H,
th:H,
"*":L.createElement("div")
},U=/complete|loaded|interactive/,D=/^[\w-]*$/,J={},W=J.toString,X={},Y=L.createElement("div"),G={
tabindex:"tabIndex",
readonly:"readOnly",
"for":"htmlFor",
"class":"className",
maxlength:"maxLength",
cellspacing:"cellSpacing",
cellpadding:"cellPadding",
rowspan:"rowSpan",
colspan:"colSpan",
usemap:"useMap",
frameborder:"frameBorder",
contenteditable:"contentEditable"
};
return X.matches=function(t,n){
if(!n||!t||1!==t.nodeType)return!1;
var e=t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.matchesSelector;
if(e)return e.call(t,n);
var i,r=t.parentNode,o=!r;
return o&&(r=Y).appendChild(t),i=~X.qsa(r,n).indexOf(t),o&&Y.removeChild(t),i;
},T=function(t){
return t.replace(/-+(.)?/g,function(t,n){
return n?n.toUpperCase():"";
});
},S=function(t){
return P.call(t,function(n,e){
return t.indexOf(n)==e;
});
},X.fragment=function(t,n,e){
var i,r,s;
return q.test(t)&&(i=C(L.createElement(RegExp.$1))),i||(t.replace&&(t=t.replace(_,"<$1></$2>")),
n===x&&(n=Z.test(t)&&RegExp.$1),n in I||(n="*"),s=I[n],s.innerHTML=""+t,i=C.each($.call(s.childNodes),function(){
s.removeChild(this);
})),o(e)&&(r=C(i),C.each(e,function(t,n){
R.indexOf(t)>-1?r[t](n):r.attr(t,n);
})),i;
},X.Z=function(t,n){
return t=t||[],t.__proto__=C.fn,t.selector=n||"",t;
},X.isZ=function(t){
return t instanceof X.Z;
},X.init=function(t,e){
var i;
if(!t)return X.Z();
if("string"==typeof t)if(t=t.trim(),"<"==t[0]&&Z.test(t))i=X.fragment(t,RegExp.$1,e),
t=null;else{
if(e!==x)return C(e).find(t);
i=X.qsa(L,t);
}else{
if(n(t))return C(L).ready(t);
if(X.isZ(t))return t;
if(s(t))i=c(t);else if(r(t))i=[t],t=null;else if(Z.test(t))i=X.fragment(t.trim(),RegExp.$1,e),
t=null;else{
if(e!==x)return C(e).find(t);
i=X.qsa(L,t);
}
}
return X.Z(i,t);
},C=function(t,n){
return X.init(t,n);
},C.extend=function(t){
var n,e=$.call(arguments,1);
return"boolean"==typeof t&&(n=t,t=e.shift()),e.forEach(function(e){
g(t,e,n);
}),t;
},X.qsa=function(t,n){
var e,r="#"==n[0],o=!r&&"."==n[0],s=r||o?n.slice(1):n,u=D.test(s);
return i(t)&&u&&r?(e=t.getElementById(s))?[e]:[]:1!==t.nodeType&&9!==t.nodeType?[]:$.call(u&&!r?o?t.getElementsByClassName(s):t.getElementsByTagName(n):t.querySelectorAll(n));
},C.contains=function(t,n){
return t!==n&&t.contains(n);
},C.type=t,C.isFunction=n,C.isWindow=e,C.isArray=s,C.isPlainObject=o,C.isEmptyObject=function(t){
var n;
for(n in t)return!1;
return!0;
},C.inArray=function(t,n,e){
return A.indexOf.call(n,t,e);
},C.camelCase=T,C.trim=function(t){
return null==t?"":String.prototype.trim.call(t);
},C.uuid=0,C.support={},C.expr={},C.map=function(t,n){
var e,i,r,o=[];
if(u(t))for(i=0;i<t.length;i++)e=n(t[i],i),null!=e&&o.push(e);else for(r in t)e=n(t[r],r),
null!=e&&o.push(e);
return a(o);
},C.each=function(t,n){
var e,i;
if(u(t)){
for(e=0;e<t.length;e++)if(n.call(t[e],e,t[e])===!1)return t;
}else for(i in t)if(n.call(t[i],i,t[i])===!1)return t;
return t;
},C.grep=function(t,n){
return P.call(t,n);
},window.JSON&&(C.parseJSON=JSON.parse),C.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,n){
J["[object "+n+"]"]=n.toLowerCase();
}),C.fn={
forEach:A.forEach,
reduce:A.reduce,
push:A.push,
sort:A.sort,
indexOf:A.indexOf,
concat:A.concat,
map:function(t){
return C(C.map(this,function(n,e){
return t.call(n,e,n);
}));
},
slice:function(){
return C($.apply(this,arguments));
},
ready:function(t){
return U.test(L.readyState)&&L.body?t(C):L.addEventListener("DOMContentLoaded",function(){
t(C);
},!1),this;
},
get:function(t){
return t===x?$.call(this):this[t>=0?t:t+this.length];
},
toArray:function(){
return this.get();
},
size:function(){
return this.length;
},
remove:function(){
return this.each(function(){
null!=this.parentNode&&this.parentNode.removeChild(this);
});
},
each:function(t){
return A.every.call(this,function(n,e){
return t.call(n,e,n)!==!1;
}),this;
},
filter:function(t){
return n(t)?this.not(this.not(t)):C(P.call(this,function(n){
return X.matches(n,t);
}));
},
add:function(t,n){
return C(S(this.concat(C(t,n))));
},
is:function(t){
return this.length>0&&X.matches(this[0],t);
},
not:function(t){
var e=[];
if(n(t)&&t.call!==x)this.each(function(n){
t.call(this,n)||e.push(this);
});else{
var i="string"==typeof t?this.filter(t):u(t)&&n(t.item)?$.call(t):C(t);
this.forEach(function(t){
i.indexOf(t)<0&&e.push(t);
});
}
return C(e);
},
has:function(t){
return this.filter(function(){
return r(t)?C.contains(this,t):C(this).find(t).size();
});
},
eq:function(t){
return-1===t?this.slice(t):this.slice(t,+t+1);
},
first:function(){
var t=this[0];
return t&&!r(t)?t:C(t);
},
last:function(){
var t=this[this.length-1];
return t&&!r(t)?t:C(t);
},
find:function(t){
var n,e=this;
return n="object"==typeof t?C(t).filter(function(){
var t=this;
return A.some.call(e,function(n){
return C.contains(n,t);
});
}):1==this.length?C(X.qsa(this[0],t)):this.map(function(){
return X.qsa(this,t);
});
},
closest:function(t,n){
var e=this[0],r=!1;
for("object"==typeof t&&(r=C(t));e&&!(r?r.indexOf(e)>=0:X.matches(e,t));)e=e!==n&&!i(e)&&e.parentNode;
return C(e);
},
parents:function(t){
for(var n=[],e=this;e.length>0;)e=C.map(e,function(t){
return(t=t.parentNode)&&!i(t)&&n.indexOf(t)<0?(n.push(t),t):void 0;
});
return m(n,t);
},
parent:function(t){
return m(S(this.pluck("parentNode")),t);
},
children:function(t){
return m(this.map(function(){
return d(this);
}),t);
},
contents:function(){
return this.map(function(){
return $.call(this.childNodes);
});
},
siblings:function(t){
return m(this.map(function(t,n){
return P.call(d(n.parentNode),function(t){
return t!==n;
});
}),t);
},
empty:function(){
return this.each(function(){
this.innerHTML="";
});
},
pluck:function(t){
return C.map(this,function(n){
return n[t];
});
},
show:function(){
return this.each(function(){
"none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")&&(this.style.display=p(this.nodeName));
});
},
replaceWith:function(t){
return this.before(t).remove();
},
wrap:function(t){
var e=n(t);
if(this[0]&&!e)var i=C(t).get(0),r=i.parentNode||this.length>1;
return this.each(function(n){
C(this).wrapAll(e?t.call(this,n):r?i.cloneNode(!0):i);
});
},
wrapAll:function(t){
if(this[0]){
C(this[0]).before(t=C(t));
for(var n;(n=t.children()).length;)t=n.first();
C(t).append(this);
}
return this;
},
wrapInner:function(t){
var e=n(t);
return this.each(function(n){
var i=C(this),r=i.contents(),o=e?t.call(this,n):t;
r.length?r.wrapAll(o):i.append(o);
});
},
unwrap:function(){
return this.parent().each(function(){
C(this).replaceWith(C(this).children());
}),this;
},
clone:function(){
return this.map(function(){
return this.cloneNode(!0);
});
},
hide:function(){
return this.css("display","none");
},
toggle:function(t){
return this.each(function(){
var n=C(this);
(t===x?"none"==n.css("display"):t)?n.show():n.hide();
});
},
prev:function(t){
return C(this.pluck("previousElementSibling")).filter(t||"*");
},
next:function(t){
return C(this.pluck("nextElementSibling")).filter(t||"*");
},
html:function(t){
return 0===arguments.length?this.length>0?this[0].innerHTML:null:this.each(function(n){
var e=this.innerHTML;
C(this).empty().append(v(this,t,n,e));
});
},
text:function(t){
return 0===arguments.length?this.length>0?this[0].textContent:null:this.each(function(){
this.textContent=t===x?"":""+t;
});
},
attr:function(t,n){
var e;
return"string"==typeof t&&n===x?0==this.length||1!==this[0].nodeType?x:"value"==t&&"INPUT"==this[0].nodeName?this.val():!(e=this[0].getAttribute(t))&&t in this[0]?this[0][t]:e:this.each(function(e){
if(1===this.nodeType)if(r(t))for(E in t)y(this,E,t[E]);else y(this,t,v(this,n,e,this.getAttribute(t)));
});
},
removeAttr:function(t){
return this.each(function(){
1===this.nodeType&&y(this,t);
});
},
prop:function(t,n){
return t=G[t]||t,n===x?this[0]&&this[0][t]:this.each(function(e){
this[t]=v(this,n,e,this[t]);
});
},
data:function(t,n){
var e=this.attr("data-"+t.replace(B,"-$1").toLowerCase(),n);
return null!==e?w(e):x;
},
val:function(t){
return 0===arguments.length?this[0]&&(this[0].multiple?C(this[0]).find("option").filter(function(){
return this.selected;
}).pluck("value"):this[0].value):this.each(function(n){
this.value=v(this,t,n,this.value);
});
},
offset:function(t){
if(t)return this.each(function(n){
var e=C(this),i=v(this,t,n,e.offset()),r=e.offsetParent().offset(),o={
top:i.top-r.top,
left:i.left-r.left
};
"static"==e.css("position")&&(o.position="relative"),e.css(o);
});
if(0==this.length)return null;
var n=this[0].getBoundingClientRect();
return{
left:n.left+window.pageXOffset,
top:n.top+window.pageYOffset,
width:Math.round(n.width),
height:Math.round(n.height)
};
},
css:function(n,e){
if(arguments.length<2){
var i=this[0],r=getComputedStyle(i,"");
if(!i)return;
if("string"==typeof n)return i.style[T(n)]||r.getPropertyValue(n);
if(s(n)){
var o={};
return C.each(s(n)?n:[n],function(t,n){
o[n]=i.style[T(n)]||r.getPropertyValue(n);
}),o;
}
}
var u="";
if("string"==t(n))e||0===e?u=l(n)+":"+h(n,e):this.each(function(){
this.style.removeProperty(l(n));
});else for(E in n)n[E]||0===n[E]?u+=l(E)+":"+h(E,n[E])+";":this.each(function(){
this.style.removeProperty(l(E));
});
return this.each(function(){
this.style.cssText+=";"+u;
});
},
index:function(t){
return t?this.indexOf(C(t)[0]):this.parent().children().indexOf(this[0]);
},
hasClass:function(t){
return t?A.some.call(this,function(t){
return this.test(b(t));
},f(t)):!1;
},
addClass:function(t){
return t?this.each(function(n){
O=[];
var e=b(this),i=v(this,t,n,e);
i.split(/\s+/g).forEach(function(t){
C(this).hasClass(t)||O.push(t);
},this),O.length&&b(this,e+(e?" ":"")+O.join(" "));
}):this;
},
removeClass:function(t){
return this.each(function(n){
return t===x?b(this,""):(O=b(this),v(this,t,n,O).split(/\s+/g).forEach(function(t){
O=O.replace(f(t)," ");
}),void b(this,O.trim()));
});
},
toggleClass:function(t,n){
return t?this.each(function(e){
var i=C(this),r=v(this,t,e,b(this));
r.split(/\s+/g).forEach(function(t){
(n===x?!i.hasClass(t):n)?i.addClass(t):i.removeClass(t);
});
}):this;
},
scrollTop:function(t){
if(this.length){
var n="scrollTop"in this[0];
return t===x?n?this[0].scrollTop:this[0].pageYOffset:this.each(n?function(){
this.scrollTop=t;
}:function(){
this.scrollTo(this.scrollX,t);
});
}
},
scrollLeft:function(t){
if(this.length){
var n="scrollLeft"in this[0];
return t===x?n?this[0].scrollLeft:this[0].pageXOffset:this.each(n?function(){
this.scrollLeft=t;
}:function(){
this.scrollTo(t,this.scrollY);
});
}
},
position:function(){
if(this.length){
var t=this[0],n=this.offsetParent(),e=this.offset(),i=k.test(n[0].nodeName)?{
top:0,
left:0
}:n.offset();
return e.top-=parseFloat(C(t).css("margin-top"))||0,e.left-=parseFloat(C(t).css("margin-left"))||0,
i.top+=parseFloat(C(n[0]).css("border-top-width"))||0,i.left+=parseFloat(C(n[0]).css("border-left-width"))||0,
{
top:e.top-i.top,
left:e.left-i.left
};
}
},
offsetParent:function(){
return this.map(function(){
for(var t=this.offsetParent||L.body;t&&!k.test(t.nodeName)&&"static"==C(t).css("position");)t=t.offsetParent;
return t;
});
}
},C.fn.detach=C.fn.remove,["width","height"].forEach(function(t){
var n=t.replace(/./,function(t){
return t[0].toUpperCase();
});
C.fn[t]=function(r){
var o,s=this[0];
return r===x?e(s)?s["inner"+n]:i(s)?s.documentElement["scroll"+n]:(o=this.offset())&&o[t]:this.each(function(n){
s=C(this),s.css(t,v(this,r,n,s[t]()));
});
};
}),V.forEach(function(n,e){
var i=e%2;
C.fn[n]=function(){
var n,r,o=C.map(arguments,function(e){
return n=t(e),"object"==n||"array"==n||null==e?e:X.fragment(e);
}),s=this.length>1;
return o.length<1?this:this.each(function(t,n){
r=i?n:n.parentNode,n=0==e?n.nextSibling:1==e?n.firstChild:2==e?n:null,o.forEach(function(t){
if(s)t=t.cloneNode(!0);else if(!r)return C(t).remove();
N(r.insertBefore(t,n),function(t){
null==t.nodeName||"SCRIPT"!==t.nodeName.toUpperCase()||t.type&&"text/javascript"!==t.type||t.src||window.eval.call(window,t.innerHTML);
});
});
});
},C.fn[i?n+"To":"insert"+(e?"Before":"After")]=function(t){
return C(t)[n](this),this;
};
}),X.Z.prototype=C.fn,X.uniq=S,X.deserializeValue=w,C.zepto=X,C;
}();
window.Zepto=t,void 0===window.$&&(window.$=t);
});define("homepage/index.js",["biz_wap/zepto/zepto.js","biz_wap/zepto/ajax.js","biz_wap/zepto/event.js","homepage/report.js","biz_common/utils/report.js"],function(e){
"use strict";
function i(e){
for(var i=["hid="+cgiData.hid,"biz="+cgiData.biz,"uin="+uin,"key="+key,"pass_ticket="+pass_ticket],n=0;n<e.length;n++)i.push(e[n]);
t("http://mp.weixin.qq.com/mp/report?action=homepage&"+i.join("&"));
}
function n(e){
"object"==typeof WeixinJSBridge&&"function"==typeof WeixinJSBridge.invoke?e():document.addEventListener?document.addEventListener("WeixinJSBridgeReady",e,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",e),
document.attachEvent("onWeixinJSBridgeReady",e));
}
e("biz_wap/zepto/zepto.js"),e("biz_wap/zepto/ajax.js"),e("biz_wap/zepto/event.js"),
e("homepage/report.js");
for(var t=e("biz_common/utils/report.js"),a=e,o=$(".js_plugin"),r=0;r<o.length;r++){
var p=a("/hp/hp_"+o.eq(r).data("pid")+".js");
p&&p({
container:"#"+o.eq(r).attr("id")
});
}
var s=function(){
benchmark.mark("pageClose");
var e=[];
e.push("type=3"),e.push("begintime="+benchmark.pageBegin),e.push("endtime="+benchmark.pageClose),
i(e);
};
window.addEventListener("beforeunload",s,!1);
var c=$(".js_post").eq(0).find(".js_title").html(),m="",d=$(".js_post").eq(0).find(".js_img");
m="IMG"==d.prop("tagName")?d.prop("src"):(d.css("background-image")||"").replace("url(","").replace(")",""),
n(function(){
var e={
img_url:m,
img_width:"108",
img_height:"108",
link:location.href,
desc:c,
title:cgiData.pagename||cgiData.biz_info.nickname+"的主页"
};
WeixinJSBridge.on("menu:share:timeline",function(){
e.link=location.href+"&scene=2",WeixinJSBridge.invoke("shareTimeline",e,function(e){
"share_timeline:cancel"!=e.err_msg&&i(["type=1"]);
});
}),WeixinJSBridge.on("menu:share:appmessage",function(){
e.link=location.href+"&scene=1",WeixinJSBridge.invoke("sendAppMessage",e,function(e){
"share_timeline:cancel"!=e.err_msg&&i(["type=2"]);
});
});
});
});